<?php require_once 'Mobile_Detect.php';

	$detect = new Mobile_Detect;
			
	if ($detect->isMobile() ){
$this->beginContent('//layouts/main'); 
 echo $content; 
 $this->endContent(); 
 } 
 
	else
 {
 
 ?>
 
 
	<?php $this->beginContent('//layouts/main'); ?>
<div class="row-fluid">
	<div class="span12">
		<div class="main">
			<?php echo $content; ?>
		</div>	
	</div><!-- content -->
</div>
<?php $this->endContent(); ?>


<?php }
 ?>




